package 二叉搜索树中的众数;

public class Test {
    public static void main(String[] args) {

        Solution solution = new Solution();
        TreeNode root = new TreeNode(1);
        root.right = new TreeNode(2);
        root.right.left = new TreeNode(2);

        int[] mode = solution.findMode(root);
        System.out.println("mode = " + mode.toString());
    }
}
